package fangzhiyi_day0321.diary;

/**
 * @author fangzhiyi
 * @version 1.0
 * @date 2025/3/21 14:04
 * @description
 */
public class Diary {
    private int number;
    private String part;
    private String grasps;
    private String doubt;
    private String name;

    public Diary() {
    }

    public Diary(int number, String part, String grasps, String doubt, String name) {
        this.number = number;
        this.part = part;
        this.grasps = grasps;
        this.doubt = doubt;
        this.name = name;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getPart() {
        return part;
    }

    public void setPart(String part) {
        this.part = part;
    }

    public String getGrasps() {
        return grasps;
    }

    public void setGrasps(String grasps) {
        this.grasps = grasps;
    }

    public String getDoubt() {
        return doubt;
    }

    public void setDoubt(String doubt) {
        this.doubt = doubt;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Diary{" +
                "number=" + number +
                ", part='" + part + '\'' +
                ", grasps='" + grasps + '\'' +
                ", doubt='" + doubt + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
